package com.tywj.panda.customer.common.provider

import android.app.Activity
import com.tywj.lib.core.common.view.BaseFragment
import com.tywj.lib.net.retrofit.request.GetRequest
import com.tywj.lib.route.IServiceProvider
import com.tywj.lib.route.RouteNavigation


/**
 * @desc 首页组件导航接口
 * @authorJune Yang
 * @date 2020/5/9
 */

interface IHomeService : IServiceProvider {

    /**
     * 获取首页Fragment
     * @param activity Activity对象
     * @return 首页Fragment
     */
    fun getHomeFragment(activity: Activity): BaseFragment


    fun getCRMLineDetails(lineCode: String): GetRequest


    fun getGpsRoute(lineCode:String):GetRequest

}